package cn.ehanghai.iot.dataobject;

import lombok.Data;

/**
 * @author xumf
 * @date 2019/6/28 20:01
 */
@Data
public class MessageText extends BaseMessage {
    private String Content;//文本消息内容
    private String MsgId;//消息id，64位整型

    public MessageText() {

    }

    public MessageText(String toUserName, String fromUserName,
                       long createTime, String msgType, String content, String msgId) {
        super();
        ToUserName = toUserName;
        FromUserName = fromUserName;
        CreateTime = createTime;
        MsgType = msgType;
        Content = content;
        MsgId = msgId;
    }
}
